import { App } from 'vue'
import {
  Cell, 
  CellGroup,
  Col,
  Row,
  NavBar,
  Step, 
  Steps,
  Button,
  Field,
  Uploader,
  Notify,
  Loading
} from 'vant'

let vantList = [Cell, CellGroup, Col, Row, NavBar, Step, Steps, Button, Field, Uploader, Notify, Loading]
export default function install(app: App) {
  vantList.forEach(item => {
    app.use(item)
  })
  app.provide('Notify', Notify)
}